package com.zzw.basic.finalize;

public class FinalizeTest {

	private static FinalizeTest ft = null;
	
	public void info(){
		System.out.println("������Դ�����finalize����");
	}
	
	public void finalize(){
		ft = this;
	}
	
	public static void main(String[] args) {
		new FinalizeTest();
		System.gc();
		System.runFinalization();
		ft.info();
	}
}